/*********************************************************/
/*                       WinMain Function                */
/*                   You can do you job here             */
/*********************************************************/

#include "MYApp.h"
#include "MYFrame.h"
#include <windows.h>

MYApp theApp;
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE preInst, LPSTR, int nCmdShow)
{
    if ( !theApp.Run( hInstance , SW_SHOW) )
        return false;
    
    MSG msg;
    while( ::GetMessage(&msg, NULL, 0, 0) )
    {
        ::TranslateMessage( &msg );
        ::DispatchMessage( &msg );
    }
    return 0;
}